﻿using System;
using System.Collections.Generic;

namespace Allegro.TaskExecution
{
    /// <summary>
    /// An interface that allows application objects unknown to Task Execution to be resolved in the 
    /// execution context and plugged into the task execution.
    /// </summary>
    public interface IContextExpression
    {
        /// <summary>
        /// Execute the task. Before the task can be executed, a context must be registered for the task
        /// </summary>
        object Evaluate(IExecutionContext context);
    }
}
